<?php
/**
 * Created by PhpStorm.
 * @author LiShaoWei
 * @param Date : 2016/3/17
 * @param Time : 13:30
 * @since 1.0
 */
/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model app\models\LoginForm */

use yii\helpers\Html;
$this->title = 'test用户注册';
//$this->params['breadcrumbs'][] = $this->title;
?>

<div class="site-login">
    <h1><?= Html::encode($this->title) ?></h1>
    <div class="alert alert-warning">
        <a href="#" class="close" data-dismiss="alert">
            &times;
        </a>
        <strong>警告！</strong><code>
        2</code>。
    </div>
    <p>请填写以下字段来注册:</p>
    <div class="row">

            <form class="form-horizontal" role="form" method="post">

                <div class="form-group">
                        <label for="firstname" class="col-sm-2 control-label">帐号</label>
                        <div class="col-sm-4">
                            <input type="text" name="username" class="form-control" id="firstname"
                                   placeholder="帐号">
                        </div>
                </div>
                <div class="form-group">
                    <label for="lastname" class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-4">
                        <input type="password" name="password" class="form-control" id="lastname"
                               placeholder="密码">
                    </div>
                </div>
                <div class="form-group">
                    <label for="lastname" class="col-sm-2 control-label">请再次输入密码</label>
                    <div class="col-sm-4">
                        <input type="password" name="password2" class="form-control" id="lastname"
                               placeholder="密码">
                        </div>
                </div>
                <div class="form-group">
                    <label for="lastname" class="col-sm-2 control-label">email</label>
                    <div class="col-sm-4">
                        <input type="text" name="email" class="form-control" id="lastname"
                               placeholder="email">
                    </div>
                </div>


                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox"> 请阅读以下
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">注册</button>
                    </div>
                </div>

            </form>

    </div>


    <div class="col-lg-offset-1" style="color:#999;">
        You may login with <strong>admin/admin</strong> or <strong>demo/demo</strong>.<br>
        test用户登录 <code>liwei980167048@qq.com</code>.
    </div>
</div>